<template>
	<view>
		<view class="back-container">
			<image class="back-img" src="@/static/img/mine-header-bg.png">
			</image>
		</view>
		<view class="top">
			<view>您好！</view>
			<view>欢迎使用饭票魔王-商家版</view>
			<view>请先选择所在区域</view>
		</view>
		<navigator url="/pages/index/index" class="list flex-y-center" v-for="(item,index) in areaList" :key="index">
			<image src="@/static/img/logo.png" class="flex-grow-0 img"></image>
			<view class="flex-grow-1 right">
				<view class="name">{{item.name}}</view>
				<view>请仔细查看是否是对应区域</view>
			</view>
		</navigator>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				areaList: [{
					name: '重庆/云南/北京'
				}, {
					name: '广东'
				}, {
					name: '成都'
				}]

			}
		},
		methods: {

		}
	}
</script>

<style>
	.back-container {
		position: absolute;
		width: 100%;

	}

	.back-container .back-img {
		height: 210px;
		width: 100%;
	}

	.top {
		position: relative;
		z-index: 99;
		padding: 25rpx;
		line-height: 50rpx;
		color: #fff;
	}

	.list {
		background: #fff;
		border-radius: 25rpx;
		position: relative;
		z-index: 99;
		margin: 0 25rpx 15rpx;
		padding: 15rpx;
	}

	.list .img {
		width: 140rpx;
		height: 140rpx;
		border-radius: 25rpx;
	}

	.list .right {
		line-height: 55rpx;
		font-size: 26rpx;
		margin-left: 20rpx;
	}

	.list .right .name {
		font-size: 34rpx;
	}
</style>
